package com.relytosoft.mizar.analyze.base.entity.bitman;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * @title: TaskInputDto
 * @Author SunLi
 * @Date: 2022/5/12 11:24
 * @Version 1.0
 */
public class TaskInputDto implements Serializable {
    /**
     * 设备ID
     */
    @JsonProperty("SrcId")
    private String srcId;
    /**
     * 任务名称
     */
    @JsonProperty("TaskName")
    private String taskName;
    /**
     * 设备名称
     */
    @JsonProperty("DeviceName")
    private String deviceName;
    /**
     * 分辨率
     */
    @JsonProperty("Resolution")
    private String resolution;
    /**
     * 视频编码类型
     */
    @JsonProperty("EncodeFormat")
    private String encodeFormat;
    @JsonProperty("SrcType")
    private Integer srcType;
    @JsonProperty("Towards")
    private Integer towards;
    /**
     * 设备视频流配置
     */
    @JsonProperty("RtspSrc")
    private TaskRtspDto rtspSrc;

    public String getSrcId() {
        return srcId;
    }

    public void setSrcId(String srcId) {
        this.srcId = srcId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getResolution() {
        return resolution;
    }

    public void setResolution(String resolution) {
        this.resolution = resolution;
    }

    public String getEncodeFormat() {
        return encodeFormat;
    }

    public void setEncodeFormat(String encodeFormat) {
        this.encodeFormat = encodeFormat;
    }

    public Integer getSrcType() {
        return srcType;
    }

    public void setSrcType(Integer srcType) {
        this.srcType = srcType;
    }

    public Integer getTowards() {
        return towards;
    }

    public void setTowards(Integer towards) {
        this.towards = towards;
    }

    public TaskRtspDto getRtspSrc() {
        return rtspSrc;
    }

    public void setRtspSrc(TaskRtspDto rtspSrc) {
        this.rtspSrc = rtspSrc;
    }

    @Override
    public String toString() {
        return "TaskInputDto{" +
                "srcId='" + srcId + '\'' +
                ", taskName='" + taskName + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", resolution='" + resolution + '\'' +
                ", encodeFormat='" + encodeFormat + '\'' +
                ", srcType=" + srcType +
                ", towards=" + towards +
                ", rtspSrc=" + rtspSrc +
                '}';
    }
}
